Skip to content

Coderabbit/improve app usability and tools/787d3bfa - #3

Merged
iwebslogtech merged 6 commits into
masterfrom
coderabbit/improve-app-usability-and-tools/787d3bfa
Nov 8, 2026
Merged

iwebslogtech merged 6 commits into
masterfrom
coderabbit/improve-app-usability-and-tools/787d3bfa

Conversation

@iwebslogtech

@iwebslogtech iwebslogtech commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features

    • Added a local dashboard for running scans and reviewing findings, policies, tools, and scan history.
    • Added SARIF report exports, selectable scan profiles, configurable worker counts, and optional dependency auditing.
    • Expanded CLI options for scan configuration, tool selection, and workspace access.
    • Improved reports with interactive HTML views, findings, policy status, and scan details.
  • Improvements

    • Added clearer policy validation and required-check reporting, plus parallel check execution.
    • Expanded setup, command, workspace, and roadmap documentation.
  • Quality

    • CI now tests Python 3.10 and 3.12 and runs lint, formatting, and type checks.

iwebslogtech and others added 6 commits November 7, 2026 14:47
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Add a responsive local browser workspace with scan presets, findings exploration, durable bounded history, report comparison, policy downloads, and SARIF exports. Document developer use cases and deployment boundaries.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Codex update 08112006.2301
…licy and report history loading

<!-- coderabbit-ai-generated:v1 -->

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Redesign the GUI with a responsive repository overview and improve po…
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request expands scan configuration, check execution, and report formats. It adds local browser workspaces with scan history and related API endpoints. It also updates the CLI, GitHub Action, documentation, packaging, and CI checks.

Changes: Scanning and policy

Layer / File(s) Summary
Policy, discovery, and scan execution
src/codeproof/config.py, src/codeproof/files.py, src/codeproof/adapters.py, src/codeproof/core.py, src/codeproof/discovery.py, tests/test_adapters.py, tests/test_policy.py, tests/test_discovery.py
Policy loading validates configuration and layers partial overrides over defaults. File discovery excludes symlinks, excluded directories, paths outside the target, and duplicates. Checks add syntax analysis, finding parsing, pip-audit support, and concurrent execution. Required checks and empty-evidence cases affect policy status. Generated tests are grouped by module and respect existing files unless forced.

CLI and reports

Layer / File(s) Summary
CLI and report outputs
src/codeproof/cli.py, src/codeproof/reporting.py, src/codeproof/report_template.html, action.yml, tests/test_reports_cli.py
The CLI adds tool and policy commands, scan options, and workspace launch commands. Reports support escaped Markdown and HTML output and SARIF export. The GitHub Action accepts a worker count and uploads the reports directory.

Workspace and browser interfaces

Layer / File(s) Summary
Workspace scan lifecycle and API
src/codeproof/workspace.py, tests/test_workspace.py
The workspace validates scan requests, selects profiles, persists run state in SQLite, limits active and retained runs, and exposes API routes for workspace data, scans, and exports. Scan requests validate host, token, origin, and body size.
Browser interfaces and server wiring
src/codeproof/web.py, src/codeproof/web/*, src/codeproof/gui/*, src/codeproof/cli.py, pyproject.toml
The browser interfaces display reports, findings, tools, policy, and history. The workspace interface supports scan configuration, polling, and run comparison. A separate GUI interface supports scans and report-history loading. The CLI and package configuration wire in the GUI commands and assets.

Project delivery and documentation

Layer / File(s) Summary
Project delivery and documentation
.github/workflows/ci.yml, pyproject.toml, README.md, ROADMAP.md, docs/*, src/codeproof/__init__.py, src/codeproof/models.py, tests/test_config.py, tests/test_core.py
CI adds Python 3.10 and 3.12 jobs with Ruff and mypy checks. Packaging adds audit and typing dependencies and Ruff settings. The README and roadmap documents describe CLI and workspace behavior, current capabilities, and planned work. Several existing declarations and tests are reformatted without behavior changes.

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Browser
  participant make_server
  participant Workspace
  participant ScanCore
  participant SQLite
  Browser->>make_server: Submit scan request
  make_server->>Workspace: Validate and submit request
  Workspace->>ScanCore: Execute background scan
  Workspace->>SQLite: Persist run state and report
  Browser->>make_server: Poll for run updates
  make_server->>Workspace: Read workspace state
Loading
Merge Risk: High · up to f81f0

As written, the package cannot be built or installed from source, so the GitHub Action and the new CI job both fail. The legacy GUI server also accepts cross-site scan requests and renders report data unsafely. Fix the packaging, lint and GUI hardening issues before merging.

@iwebslogtech
iwebslogtech merged commit 5a3807b into master Nov 8, 2026
0 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant